<template>
  <div class="feature-view">
    <a href="https://act.mogujie.com/zz1x67">
      <img src="~assets/img/home/recommend_bg.jpg" alt="" @load="imgLoaded">
    </a>
  </div>
</template>

<script>
export default {
  name: 'FeatureView',
  methods: {
    imgLoaded() {
      this.$emit('imgLoaded');
    }
  }
}
</script>

<style>
  .feature-view img{
    width: 100%;
    vertical-align: middle;
  }
</style>